Shader "Custom/texture_1" {
	Properties {
		_Color ("Main Color", Color) = (1,1,1,1)
		_MainTex ("Main Tex", 2D) = "" { }
	}
	SubShader {
		Pass{
			Tags{ "LightMode" = "ForwardBase"}
			CGPROGRAM
			#pragma vertex vert
			#pragma fragment frag
			
			uniform sampler2D _MainTex;
			uniform float4 _MainTex_ST;
			
			struct VertexInput
			{
				float4 vertex:POSITION;
			};
			
			struct VetexOutput
			{
				float4 pos:SV_POSITION;
				float4 col:Color;
			};
			
			VetexOutput vert(VertexInput v)
			{
				VetexOutput o;
				o.pos = mul(UNITY_MATRIX_MVP, v.vertex);
				return o;
			}
			
			float4 frag(VetexOutput i):Color
			{
				return i.col;	
			}
			ENDCG
		}
	} 
	
	FallBack "Diffuse"
}

